package com.cardmanager.pro.business;

import java.math.BigDecimal;
import java.util.List;

import com.cardmanager.pro.pojo.CreditCardAccount;

public interface CreditCardAccountBusiness {

	CreditCardAccount findByUserIdAndCreditCardNumber(String userId, String creditCardNumber);

	CreditCardAccount save(CreditCardAccount creditCardAccount);

	CreditCardAccount updateCreditCardAccount(String userId, String creditCardNumber, String taskId, int addOrSub, BigDecimal amount, String description);

	List<CreditCardAccount> findCreditCardAccountByBlanceNotZero();

	CreditCardAccount queryCreditCardAccount (String userId, String creditCardNumber);

}
